package com.example.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 通道 - 通道组 ，关联表
 */
@Entity
@Table(name = "channel_of_channel_group")
public class ChannelOfChannelGroup implements Serializable {

    @Id
    @Column(name = "pkid")
    private Integer pkId;

    @Column(name = "channel_id")
    private Integer channelId; //通道表id

    @Column(name = "channel_gorup_id")
    private Integer channelGroupId; //通道组表Id

    public Integer getPkId() {
        return pkId;
    }

    public void setPkId(Integer pkId) {
        this.pkId = pkId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getChannelGroupId() {
        return channelGroupId;
    }

    public void setChannelGroupId(Integer channelGroupId) {
        this.channelGroupId = channelGroupId;
    }
}
